package rmi.impl;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

/**
 * Created by wangyg on 2016/11/1.
 */
public class ServiceImpl extends UnicastRemoteObject implements IService {
	public ServiceImpl() throws RemoteException {
		super();
	}

	@Override
	public String service(String content) throws RemoteException {
		return  "server >> " + content;
	}
}
